package bookstore.iservice;

import bookstore.idao.ICustomerDao;
import java.util.List;

import bookstore.model.Customer;

public interface ICustomerService {

    public void setCustomerDao(ICustomerDao CustomerDao);

    public void addCustomer(Customer Customer);

    public void editCustomer(Customer Customer);

    public void editMessage(Customer customer);

    public void editPassword(Customer customer);

    public void deleteCustomer(Integer id);

    public Customer findCustomerById(Integer id);

    public Customer findCustomerByNameAndPassword(String name, String password);

    public List<Customer> findAllCustomersByPage(Integer pageSize, Integer pageNo);

    public Integer findCount();
}
